package com.hyy.api.domain.customer.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.hyy.common.excel.annotation.ExcelDictFormat;
import com.hyy.common.excel.convert.ExcelDictConvert;
import com.hyy.api.domain.customer.CstmCorporate;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 下游客户公司视图对象 cstm_corporate
 *
 * @author ruoyi
 * @date 2025-05-16
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = CstmCorporate.class)
public class CstmCorporateVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 公司ID
     */
    @ExcelProperty(value = "公司ID")
    private Long id;

    /**
     * 公司名称
     */
    @ExcelProperty(value = "公司名称")
    private String name;

    /**
     * code，登录账号
     */
    @ExcelProperty(value = "code，登录账号")
    private String code;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "cstm_corporate_status")
    private Integer status;

    /**
     * 密码
     */
    @ExcelProperty(value = "密码")
    private String pwd;


}
